package com.haoze.nurse.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.common.model.TaskExecuteBatchEntity;
import com.haoze.nurse.dto.ExecuteDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TaskExecuteBatchMapper extends MyMapper<TaskExecuteBatchEntity> {
    TaskExecuteBatchEntity queryTaskBatch(@Param("batchNo") long batchNo, @Param("inpatorderdataId") String inpatorderdata_id);

    Map<String, String> queryExecInfoByQrCode(@Param("qrCode") String qrCode);

    Map<String, String> queryEndInfoByQrCode(@Param("qrCode") String qrCode);

    String queryFirstBitSpeed(@Param("qrCode") String qrCode);

    List<ExecuteDetail> getExecuteDetail(@Param("qrCode")String qrCode);

    int queryOrdersById(@Param("inpatorderdataId") String inpatorderdataId,@Param("type") String type,@Param("staticWardList") List<String> staticWardList);
}
